package mobi.pfff.rest.bean;

import javax.xml.bind.annotation.XmlRootElement;

/**
 * 用户 bean
 * @date 2015年1月5日 下午2:46:41
 * @author pfff
 */
@XmlRootElement
public class User {

	private String userId; // 编号
	private String userName; // 用户名
	private String age; // 年龄
	
	@Override
	public String toString() {
		return "User [userId=" + userId + ", userName=" + userName + ", age=" + age
				+ "]";
	}

	public User () {}

	public User(String userId, String userName, String age) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.age = age;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getAge() {
		return age;
	}

	public void setAge(String age) {
		this.age = age;
	}
}